package com.xu.sys.service;

import com.xu.sys.bean.SysUser;
import com.xu.sys.utils.PageUtils;

import java.util.List;

public interface IUserService {
    public List<SysUser> list(SysUser entity);

    public int save(SysUser entity);

    public SysUser findById(int id);

    public int updteById(SysUser entity);

    public int deleteById(int id);

    public void listPage(PageUtils pageUtils);

    public int count(PageUtils pageUtils);

    SysUser findByName(String userName);

}
